<div class="header">
	<div class="headerTop">
		<div class="ui-toolbar-left">
			<button id="reveal-left">reveal</button>
		</div>
		<h1 class="ui-betting-title">
			<div class="bett-top-box">
				
					<div class="bett-play">玩法</div>
					<div class="bett-tit"><span id="play_name" style="font-size: 14px;">选择玩法</span><i class="bett-attr"></i></div>
				
			</div>
		</h1>
		<div class="ui-bett-right" style="display:none;">
			<a class="bett-head" href="javascript:;"></a>
		</div>
	</div>
	<!-- 菜单右侧tips -->
            

	<div class="beet-rig" hidden="" style="display: none;">
		<ul>
			<li><a href="/mine/betList.html?gameId=5">投注记录</a></li>
			<li><a href="/trend/index.html?gameId=5">走势图</a></li>
			<li><a href="/draw/list.html?gameId=5">最近开奖</a></li>
			<li><a href="/help/instruct.html?gameId=5">玩法说明</a></li>
		</ul>
	</div>
</div>


<div class="bett-foot">
	<button class="btn-none" onclick="clearCode()">清空</button>
	<div class="beet-foot-txt">
		<!--<div class="beet-note">共8元</div>-->
		<p><span id="bet_sel_count">0</span>注&nbsp;&nbsp;<span id="bet_sel_money" class="red">0</span>元</p>
	</div>
	<button class="btn-add" onclick="sendTouzhu()">投注</button>
</div>
<script>
//清空
function clearCode(){
	$(".specific-cell-o>.code").removeClass("checked");
	$("#bet_sel_count").text("0");
	$("#bet_sel_money").text("0.0");
	gameActionRemoveCode();
}

//调起数据发送接口
function sendTouzhu(){
	//var selectCode = gameActionAddCode();
	//if(selectCode!=false){
		
	if($("#bet_sel_count").text()=="0" && $("#textarea-code").size()<1){
		winjinAlert("请选择投注号码","alert");
		return false;
	}
	
	//单式投注
	if($("#textarea-code").size()>0 && $("#textarea-code").val()==""){
		winjinAlert("请输入投注号码","alert");
		return false;
	}
	//alert(typeof($(".game-main .game-cont .num-table .pp").attr("lenght")));
	
		$('#touzhuBox').dialog({
			title:'注单设定',
			resizable: false,
			width:300,
			minHeight:220,
			modal: true,
			buttons: {
			"确定": function() {
				$( this ).dialog( "close" );
				gameActionAddCode();
				$("#btnPostBet").click();
				
			},
			"取消": function() {
				$( this ).dialog( "close" );
			}
			}
		});//dialog end
	
	//}
}

</script>


<style>
input[type="button"],input[type="text"], input[type="submit"], input[type="reset"] {
-webkit-appearance: none;
border-radius:0;
border:1px solid #ccc;
}
textarea { -webkit-appearance: none;
border-radius:0;}
body{
	overflow-x:hidden;
	background: #F5F5F5;
}
.header {
    background: #ec2829;
    width: 100%;
    height: 44px;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
}
.beet-rig {
    position: fixed;
    top: 35px;
    right: 15px;
    background: url(/images/betting/you_caidan_box.png) no-repeat;
    width: 117px;
    height: 160px;
    background-size: 117px 160px;
    z-index: 100;
}
ol, ul {
    list-style: none;
}
.beet-rig ul {
    margin: 11px 1px 0;
}
.beet-rig ul li {
    text-align: center;
    line-height: 36px;
    height: 36px;
    border-bottom: 1px solid #ddd;
}
.beet-rig ul li a {
    color: #c91b1c;
    display: block;
}

.ui-toolbar-left, .ui-toolbar-right {
    position: absolute;
    z-index: 2;
}
.ui-toolbar-left {
    background: url(/images/goucai_qiehua_07.png) no-repeat;
}
.header #reveal-left, .header #reveal-right {
    color: #fff;
    width: 36px;
    height: 36px;
    display: block;
    text-indent: -99999px;
    border: none;
    position: absolute;
    cursor: pointer;
    outline: none;
}

.bett-top-box div {
    margin: 0 5px;
    float: left;
}
.header #reveal-left {
    background: url(/images/blank_01.png) no-repeat;
    background-size: 13.5px;
    width: 13.5px;
     height: 25px;
    display: block;
    position: relative;
    top: 8px;
    left: 6px;
}
.header h1 {
    width: 100%;
    text-align: center;
    font-size: 22px;
    line-height: 44px;
    color: #fff;
	font-weight: normal;
}
.header .ui-betting-title {
    position: absolute;
    left: 0;
    top: 5px;
    z-index: 1;
    width: 100%;
    text-align: center;
}

.bett-top-box {
    position: relative;
    display: inline-table;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.header .ui-betting-title .bett-play {
    font-size: 12px;
    line-height: 14px;
    width: 12px;
    height: 34px;
    display: inline-block;
    padding-top: 5px;
}

.bett-tit {
    border: 1px solid #fff;
    border-radius: 5px;
    height: 26px;
    line-height: 22px;
    padding: 0 10px;
    font-size: 90%;
    display: inline-block;
    margin-top: 4px !important;
}
.bett-attr {
    background: url(/images/betting/top_zhong_sanjiao.png) no-repeat right center;
    width: 12.5px;
    height: 8.5px;
    background-size: 12.5px 8.5px;
    display: inline-block;
    padding-right: 5px;
}
.ui-bett-right {
    background: url(/images/betting/top_you_anniu_01.png) no-repeat;
    width: 51px;
    height: 44px;
    background-size: 51px 44px;
    position: absolute;
    right: 5px;
    top: 0;
    z-index: 9;
}
.bett-head {
    display: block;
    width: 51px;
    height: 44px;
}

a:hover {
    color: #666;
    text-decoration: none;
}




.beet-tips{
    position: fixed;
    left: 0;
    top: 44px;
    right: 0;
    background: #f3f3f3;
    border-bottom: 2px solid #eb2929;
    z-index: 999;
	font-size:16px;
}
.beet-tips a{
	color:#666;
}
.beet-tips-tit {
    border-bottom: 1px solid #ddd;
    text-align: center;
    margin: 0 0 10px;
    position: relative;
}
.clear {
    width: 100%;
    height: 0;
    overflow: hidden;
    clear: both;
}



.beet-tips ul {
    overflow: hidden;
    margin: 10px 0 20px;
}
.beet-tips-tit {
    border-bottom: 1px solid #ddd;
    text-align: center;
    margin: 0 0 10px;
    position: relative;
}
ol, ul {
    list-style: none;
}
.beet-tips ul {
    overflow: hidden;
    margin: 10px 0 20px;
}

.beet-tips-tit span {
    background: #f3f3f3;
    padding: 0 5px;
    position: relative;
    top: 10px;
	font-size:16px;
}
.beet-tips ul li {
    width: 33.33%;
    float: left;
    text-align: center;
    margin-bottom: 10px;
}
.beet-tips ul li a, .beet-tips ul li a.active {
    background: #fff url(/images/betting/touzhu_nav_02.png) no-repeat;
    width: 92px;
    height: 28px;
    background-size: 92px;
    height: 28px;
    display: inline-block;
    line-height: 28px;
}
.beet-tips ul li a.beet-active {
    background: #fff url(/images/betting/touzhu_nav_01.png) no-repeat;
    background-size: 92px;
    height: 28px;
    color: #ec2829;
}
#mainbody{
	padding-top: 44px;
    padding-bottom: 44px;
}






.game-main .game-btn,
.game-main .game-cont .game-btn2 {
    overflow: hidden;
    margin: 10px 0 0;
	line-height: normal;
    background: none;
}
.game-main .game-btn .ul-li,
.game-main .game-cont .game-btn2 .ul-li{
    width: 33.33%;
    float: left;
    text-align: center;
    margin-bottom: 10px;
    background: none;
    height: initial;
    padding: initial;
    white-space: nowrap;
}

.game-main .game-btn .ul-li a,
.game-main .game-btn .ul-li a:active,
.game-main .game-cont .game-btn2 .ul-li a{
	background: #fff url(/images/betting/touzhu_nav_02.png) no-repeat;
    width: 92px;
    height: 28px;
    background-size: 92px;
    height: 28px;
    display: inline-block;
    line-height: 28px;
}
.game-main .game-btn .ul-li.current a,
.game-main .game-cont .game-btn2 .ul-li.current a {
    background: #fff url(/images/betting/touzhu_nav_01.png) no-repeat;
    background-size: 92px;
    height: 28px;
    color: #ec2829;
}
.game-main .game-btn .ul-li.current,
.game-main .game-cont .game-btn2 .ul-li.current {
    background: none;
    /*margin: auto;*/
}
.game-main .game-btn .ul-li.current .content {
    height: auto;
    line-height: normal;
    color: initial;
    _float: none;
}

.game-main .game-btn .ul-li a {
    color: #666;
    font-size: 14px;
    font-weight: normal;
}

.game-main .game-cont .game-btn2 .ul-li a{
	padding:0;
	font-size:14px;
	color: #666;
}
.game-main .game-cont .game-btn2 .ul-li{
	    margin-right: initial;
		    margin-top: initial;
}
.game-main .game-cont .game-btn2 {
    padding: 0;
}
input,button,a { 
outline:0 none !important;
} 




/*开奖区*/

.lot-tip {
    overflow: hidden;
}

.lot-time, .dat-time {
	margin: 0;
    padding: 0;
    border: none;
    outline: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
	
    width: 50%;
    background: #fff;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    float: left;
    height: 60px;
    text-align: center;
    padding: 5px;
    box-sizing: border-box;
    font-size: 80%;
    overflow: hidden;
}
.wait-lot {
    font-size: 120%;
    margin-top: 8px;
}
.time-ico {
    background: url(/images/betting/touzhu_pic_18.png) no-repeat center;
    margin-left: -15px;
    height: 16px;
    width: 16px;
    background-size: 16px 16px;
    padding: 0px 25px 0 0;
}
.time-late {
    background: url(/images/betting/shijian_bg.png) no-repeat;
    width: 121px;
    height: 25px;
    background-size: 121px 25px;
    margin: 3px auto 0;
}
.time-late span {
    width: 17px;
    height: 25px;
    float: left;
    display: block;
    line-height: 25px;
    color: #eb2b2a;
	font-size: 14px;
}
.time-late span.time-kong {
    width: 9px;
}


.kj-bottom{display:none;}
.wjkjData{display:none;}


.bett-foot {
    background: #252525;
    height: 45px;
    padding: 5px 10px;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
}
.btn-none, .btn-add {
    background: #363636;
    border-radius: 3px;
    color: #bbb;
    width: 60px;
    height: 33px;
    line-height: 33px;
    border: none;
    outline: none;
    float: left;
    font-size: 85%;
    position: relative;
    z-index: 99;
}
.btn-add {
    background: #ffb400;
    float: right;
    color: #242625;
}
.beet-foot-txt {
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    color: #fff;
    line-height: 18px;
}
.beet-foot-txt p {
    font-size: 80%;
    line-height: 36px;
}
.red {
    color: #eb2929;
}
.touzhu-true{
	display:none;
}

#footer{
	display:none;
}


/*POPUP*/
#touzhuBox #game-dom{
	background:#fff;
	font-size: 14px;
    font-family: "微软雅黑";
    color: #555;
	border:none;
	
}

#touzhuBox .fandian-box{
	width:100%;
	clear:both;
	overflow:hidden;
	
    margin-bottom: 10px;
}
#touzhuBox .fandian-box input[type='button']{
	float:left;
	width: 32px;
    text-align: center;
    height: 28px;
    line-height: 24px;
    color: #666;
    background: #f3f3f3;
    border: 1px solid #ddd;
    font-size:1.2em;
	
}

#touzhuBox .fandian-box #slider{
	float:left;
	position: relative;
    width: 198px;
    height: 28px;
    left: 0;
    border: none;
    background: #f5f5f5;
    border-radius: 0;
	
	
}

#touzhuBox .fandian-box .slider a.ui-slider-handle {
    display: block;
    height: 100%;
    background: #5cbc28;
    width: 8px;
    position: absolute;
    border: none;
    margin: 0;
    top: 0;
    cursor: pointer;
    border-radius: 0;
}
#touzhuBox .fandian-k .spn8{
	display: block;
    margin-bottom: 10px;
}
#touzhuBox .fandian-k{
	
	display: block;
    margin-bottom: 10px;
}

#touzhuBox .danwei label{
	width: 32px;
    text-align: center;
    height: 24px;
    line-height: 24px;
    color: #666;
    background: #f3f3f3;
    border: 1px solid #ddd;
    float: left;
	position:relative;
}
#touzhuBox .danwei label.checked22{
	background: #f28010;
    color: #fff;
    border: 1px solid #dd7212;
}
#touzhuBox .danwei label>input[type='radio']{
	display:none;
}
#touzhuBox .danwei {
	overflow: hidden;
    margin-bottom: 10px;
}
#touzhuBox .danwei .spn8,
#touzhuBox .beishu .spn8{
	float:left;
	line-height:26px;
	height:26px;
	display:block;
}
#touzhuBox .beishu{
	overflow:hidden;
	margin-bottom:10px;
}
#touzhuBox .beishu>input[type="button"]{
	float: left;
    width: 32px;
    text-align: center;
    height: 28px;
    line-height: 24px;
    color: #666;
    background: #f3f3f3;
    border: 1px solid #ddd;
    font-size: 1.2em;
}

#touzhuBox .beishu #beishu{
	float: left;
    position: relative;
    width: 56px;
    height: 26px;
	line-height:26px;
	text-align:center;
    border-radius: 0;
	margin:0 10px;
}
#textarea-code{
	width: 93%;
    margin: 0 auto;
    display: block;
}
#wei-shu{
	margin-left: 10px;
    margin-top: 10px;
}
#wei-shu label{
    background: #fff url(/images/betting/tt1.png) no-repeat;
    width: 40px;
    height: 28px;
    background-size: 40px  28px;
    height: 28px;
    display: inline-block;
    line-height: 28px;
	text-align: center;
}
#wei-shu label>input[type="checkbox"]{
	display:none;
}
#wei-shu label.checked23{
    background: #fff url(/images/betting/tt2.png) no-repeat;
    background-size: 40px 28px;
    height: 28px;
    color: #ec2829;
}
</style>






























